c# declare inline string array

42

c# declare inline string array -

string letter = (new[] {"a","b","c"}).AnyOne();
// or specifying the data type:
string letter = (new string[] {"a","b","c"}).AnyOne();

Comments

Submit
0 Comments